package com.lire.shop.converter;

import com.lire.shop.entity.User;
import com.lire.shop.model.vo.UserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface UserConverter {

    UserConverter INSTANCE = Mappers.getMapper(UserConverter.class);

    UserVO do2vo(User user);
}
